import Http from "../http";


export function loginApi(data:{merchant : string, account : string; password : string}) {
    return Http.post('login', data)
}

export function refreshLogin(token:string) {
    return Http.post('login/refresh', { token })
}